Log In  
[back to top]

[ :: Read More :: ]

i have 2 carts for this, only one is runnable the other has an error

so, i started with this code;

m={pl=4,ll=4,sl=1,px={30,30,50,50},py={30,50,30,50}}
s=1

function _update()
    cls()
    repeat
        spr(1,m.px[s]-2,m.py[s]-2)
        s+=1
    until s==m.pl+1
    print(s,1,122)
end

it should make 4 sprites at each point with a -2 condition to make the sprite not offset.

but instead,

ok, the first thing i notice...

feild "?"
huh?

so, apparently this is pico-8ʻs way of saying "haha, you stupid, your code suck"(no offence, ZEP, im sorry if you find that, or anything else offensive) EVEN THOUGH IF YOU SEARCH THE CODE FOR THE "?", YOU GET 0 [redacted] RESULTS!

sorry, just needed to get that out of my system.

so, i started to change the code, eventualy i found out, that by uncorrecting the sprite, i can make it work, almost!

Cart #suzigujuwa-0 | 2023-06-16 | Code ▽ | Embed ▽ | No License

no, that would be too easy, if you play that cart, an extra 5th point appears after a little bit, IN A CART THAT PRINTS WITH NO IF CONDITIONS!!!

how do i fix this stupid, bug? or is it not the code? mabye its zeps code?

p.s: i tried to do light editing from my original draft, so i still express my anger, so, again, if you find any of this rude or offensive, im sorry.

P#131010 2023-06-16 12:31

[ :: Read More :: ]

for some reason it wont draw the last line in the loop, its just not!

map1={wallslength=4,wallsx={30,30,50,50},wallsy={30,50,50,30}}
map2={}
map3={}
s=0
sf=1

function _update()
 cls()
    s=1
    sf=2
    repeat
        if sf > map1.wallslength then
        line(map1.wallsx[s],map1.wallsy[s],map1.wallsx[1],map1.wallsy[1])
        else
     line(map1.wallsx[s],map1.wallsy[s],map1.wallsx[s+1],map1.wallsy[s+1])
     end
     s+=1
     sf+=1
    until s==map1.wallslength
end
P#131006 2023-06-16 09:52

[ :: Read More :: ]

you can use EDU to edit the image generated, its so simple, once you get what you like, just render the image in your pico-8 cart, i have listed a code i made for a cool image below the main cart.

Cart #whatthefack-0 | 2023-06-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

x=3--changable variables
y=-3200
fc=1

w=128--fixed/unchangable variables
h=128
l=0

cls()

function updatelayer()
    line(0,l,128,l,fc+7) --uses fc to fill the backround
    line(y+33,l,0,l,x-3) --outlines the grass
    line(y,l,0,l,x) --makes a grassland area

    x=x--you can change these updates, but the equations have to start with the variable being updated (x(equation))
    y=y+32
    fc=fc*1.01

    l+=1--update the layer being drawn on, you cant change this equation
end

repeat
    updatelayer()
until l==128
P#130997 2023-06-15 23:24

[ :: Read More :: ]

Cart #busybees-0 | 2023-05-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

P#130154 2023-05-25 19:58

[ :: Read More :: ]

im so close to finishing my biggest project yet, but another bug comes up!
anyboy know why the player wont jump?

function _update60()
 cls()
 if(btnp(⬆️))then
        yv=5
    end
    if(btn(➡️))then
        xv+=s
    end
    if(btn(⬅️))then
        xv-=s
    end
    if(xv>mxv)then
        xv=mxv
    end
    if(xv<0-mxv)then
        xv=0-mxv
    end
    yv+=g
    y+=yv
    x+=xv
    if(xv>0)then
        xv-=f
        if(xv<0)then
         xv=0
     end
    end
        if(xv<0)then
        xv+=f
        if(xv>0)then
         xv=0
     end
    end
    if(y>120)then
        y=120
    end
    spr(skin,x,y)
end
P#129904 2023-05-19 08:49

[ :: Read More :: ]

thats right, i am making a pico 8 version of sebs drag and drop coding visual

you have to get used to the controls or you might get something like this;

i am exited for this, and i want it to succeed, so ill post some demos below

Cart #ditifowezo-0 | 2023-05-07 | Code ▽ | Embed ▽ | No License
1


i tried using _draw instead of a repeat, it made it lag
Cart #ditifowezo-2 | 2023-05-07 | Code ▽ | Embed ▽ | No License
1

P#129475 2023-05-07 16:50 ( Edited 2023-05-07 18:33)

[ :: Read More :: ]

i hacked the game so you can buy clickers any time

Cart #bugsbugsbugs-2 | 2023-04-28 | Code ▽ | Embed ▽ | No License

it puts 0.5999 when you try to get 0.6

P#129107 2023-04-28 19:57

[ :: Read More :: ]

Cart #jihurehome-1 | 2023-04-26 | Code ▽ | Embed ▽ | No License
1

P#129054 2023-04-26 20:17

[ :: Read More :: ]

Cart #bugs-0 | 2023-04-23 | Code ▽ | Embed ▽ | No License

P#128931 2023-04-23 19:20

[ :: Read More :: ]

Cart #clickclickclickclick-0 | 2023-04-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

P#128913 2023-04-23 05:52 ( Edited 2023-04-28 13:19)

[ :: Read More :: ]

Cart #istillwannadie-0 | 2023-04-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

P#128894 2023-04-22 19:47

[ :: Read More :: ]

Cart #theskyisonfire-0 | 2023-04-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3


oh yeah, im cool.

P#128843 2023-04-21 13:47 ( Edited 2023-04-22 19:10)

[ :: Read More :: ]

no matter what you tell me, i am using a cart to play songs

Cart #iminheaven-0 | 2023-04-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

P#128841 2023-04-21 13:04

[ :: Read More :: ]

Cart #imonawallyay-0 | 2023-04-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

P#128819 2023-04-21 00:07

[ :: Read More :: ]

Cart #justasongboys-0 | 2023-04-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

P#128708 2023-04-18 15:42 ( Edited 2023-04-18 15:43)

[ :: Read More :: ]

hello, im getting an error on pico 8 about <EOF> needed near 'end'
i tried everything, please help!

P#128541 2023-04-14 14:14